<template>
<el-form :model="form" label-width="100px">
  <el-form-item label="日期">
                      <el-col :span="13">
                        <el-date-picker
                          type="date"
                          placeholder="选择日期"
                          v-model="form.ddtm"
                          style="width: 200px"
                          format="YYYY年MM月DD日"
                        ></el-date-picker>
                      </el-col>
                      </el-form-item>
  <el-form-item label="r">
    <el-input style="width: 350px" v-model="form.cnnm"></el-input>
  </el-form-item>
</el-form>
<el-form-item>
  <el-button type="primary" @click="onSubmit">搜索</el-button>
</el-form-item>

<!-- 数据表 -->
<el-table
  ref="singleTable"
  :data="tableData"
  highlight-current-row
  style="width: 100%"
>
  <el-table-column property="ddtm" label="日期" width="200">
  </el-table-column>
  <el-table-column property="cnnm" label="中文名称" width="100">
  </el-table-column>
  <el-table-column property="aiso" label="是否开启" width="150">
  </el-table-column>
  <el-table-column property="ennm" label="英文名称" width="150">
  </el-table-column>
  <el-table-column property="apsn" label="简称" width="150">
  </el-table-column>
  <el-table-column
              label="操作"
              width="100">
          <template #default="scope">
              <el-button type="text" size="small" @click="onEdit(scope.row)">修改</el-button>
              
          </template>
      </el-table-column>
</el-table>
<!-- 分页组件 -->
<el-pagination
  background
  layout="prev, pager, next"
  :total="count"
  :current-page="page"
  :pageCount="pageCount"
  @current-change="changePage"
>
</el-pagination>
</template>
    <script>
    export default {
      name: "check",
      data() {
    return {
      dialogVisible: false,
      dialogTitle: "修改航班",
      selectLabel: 0,
      tableDataType: 1,
      called:false,
      formLabelWidth: "120px", //表单文本宽度
      tableData: [{}], //图书分页数据
      count: 0, //记录总数
      page: 1, //当前页码
      pageCount: "", //总页数
      form: {
        dfltAwcd: "",
        dfltFlno: "",
        apcd: "",
        startDate: "",
        endDate: "",
        dtime: "2017-06-01T00:00:00.000Z",
      },
      check:{
        dfltFlno: "",
        dfltAwcd: "",
        apcd: "",
        dtime: "",
        fptt: "",
        fplt: "",
        flightStatus: "",
      },
    }
  },
    }
    </script>
    
    <style scoped>
    
    </style>